﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace NutriStat
{
    public partial class ImportFormatYesNoDialog : NutriDialog
    {
        public ImportFormatYesNoDialog()
        {
            InitializeComponent();
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            if (radioButtonCode01.Checked)
                result = "1/0";
            else if (radioButtonCodeYN.Checked)
                result = "Y/N";
            else if (radioButtonCodeYesNo.Checked)
                result = "Yes/No";
            else
                return;

            this.Close();
        }

        private void ImportFormatYesNoDialog_Load(object sender, EventArgs e)
        {

        }
    }
}
